package com.zijie.brand.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zijie.brand.model.Brand;
import com.zijie.brand.model.search.BrandSearchBean;


import java.util.List;

public interface BrandService {
//    分页查询品牌
    Page<Brand> findAll(Page< Brand> page, BrandSearchBean bsb);
    Brand findById(Integer id);
    boolean save(Brand brand);
    boolean update(Brand brand);
    int deleteByIds(List<Integer> ids);

    Integer deleteById(Integer id);
}
